package java_chapter5;

import java.util.Scanner;

public class java_chapter5_exercise_1 {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.println("please input the  number:");
		int num = in.nextInt();
		boolean bool = false;
		int i=1;
		do {
			
			if ((i*i) != num) {
				i++;
			}
			else {
				bool = true;
				break;
			}
		} while(i<=Math.sqrt(num)) ;
		if (bool) {
			System.out.println("It's integer square root can be found");
		}
		else {
			System.out.println("It's integer square root can not be found");
			}
	}

}
